package labs;

public class Propuesto01 {

    public static void main(String[] args) {

        Integer[] v = {1, 1, 2, 3, 4, 2, 2, 4};
        Integer[] x = {null, null, null, null, null, null, null, null};
        int ctos = 0;

        //Que valores se repiten

        for (int i = 0; i < v.length; i++) {
            for (int j = 1 + i; j < v.length; j++) {
                if (v[i] == v[j]) {
                    System.out.println(v[i]);
                    break;
                    
                }
            }
        }
    }
}
